home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 September / CHIP Eylül 1998.iso / Slackwar / contents / scripts / x332ma8 < prev    next >
Text File  |  1997-06-06  |  494b  |  14 lines

  1. #!/bin/sh
  2. TMP=/var/log/setup/tmp
  3. if [ -r $TMP/SeTcolor -o "$COLOR" = "on" ]; then
  4.  dialog --title "SETTING DEFAULT X SERVER" --infobox "Making XF86_Mach8 the default X server." 3 50
  5. else
  6.  echo "Making XF86_Mach8 the default X server..."
  7.  echo "  --> cd /var/X11R6/bin"
  8.  echo "  --> ln -sf /usr/X11R6/bin/XF86_Mach8 X"
  9. fi
  10. ( cd usr/X11R6/bin ; rm -rf X )
  11. ( cd usr/X11R6/bin ; ln -sf  /var/X11R6/bin/X X )
  12. ( cd var/X11R6/bin ; rm -rf X )
  13. ( cd var/X11R6/bin ; ln -sf  /usr/X11R6/bin/XF86_Mach8 X )
  14.